export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  menuWidth: 150,
  align: 'center',
  showClomnuBtn: false,
  searchSize: 'mini',
  addBtn: false,
  editBtn: false,
  delBtn: false,
  viewBtn: true,
  overHidden:true,
  searchBtn: true,
  columnBtn: true,
  refreshBtn: true,
  headerMenu: false,
  //header :false,
  height: 'auto',
  column: [{
    label: '类型',
    prop: 'type',
    type: 'select',
    dicUrl: '/dict/itemList/sys.actionLog.type',
    props: {
      label: 'label',
      value: 'value'
    },
    search: true
  }, {
    label: '标题',
    prop: 'title'
  }, {
    label: '用户',
    prop: 'createdByName'
  }, {
    label: 'IP地址',
    prop: 'remoteAddr'
  }, {
    label: '请求路径',
    prop: 'requestUri',
    overHidden:true
  }, {
    label: '请求参数',
    prop: 'params',
    overHidden:true
  }, {
    label: '请求方式',
    prop: 'method'
  }, {
    width: 80,
    label: '请求时间',
    prop: 'time'
  }, {
    label: '用户浏览器',
    prop: 'browserName',
    overHidden:true
  }, {
    label: '用户操作系统',
    prop: 'osName',
    overHidden:true
  }, {
    label: '服务编号',
    prop: 'serviceId'
  }, {
    label: '服务地址',
    prop: 'localAddr'
  }, {
    label: '异常',
    prop: 'exception',
    type: 'textarea',
    overHidden: true,
    viewDisplay: true,
    hide: true
  }, {
    width: 150,
    label: '创建时间',
    prop: 'createTime',
    type: 'datetime',
    format: 'yyyy-MM-dd HH:mm',
    valueFormat: 'yyyy-MM-dd HH:mm:ss'
  }]
}
